package com.foxmail.aroundme.boring.module.news.main.module;

import android.support.annotation.NonNull;

import com.foxmail.aroundme.boring.callback.RequestCallback;
import com.foxmail.aroundme.boring.utils.m_enum.RefreshType;

import rx.Subscription;

/**
 * Created by gzl on 1/22/17.
 */

public interface INewsListInter<D> {
    Subscription getDataFromNet(@NonNull RequestCallback<D> callback, @RefreshType.Refresh int type,
                                @NonNull String unixTime, @NonNull String channelId, boolean isRefresh);
}
